<!--
 * @Author: your name
 * @Date: 2021-12-11 10:16:49
 * @LastEditTime: 2021-12-11 16:28:36
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \geek-admin-test\src\pages\rate.vue
-->

<template>
<RateList :value="score" @update-rate="update"></RateList>

</template>

<script setup>
import {ref} from 'vue'
import RateList from '../components/Ratelist.vue'
let score = ref(3.5)
function update(num){ score.value = num}
</script>